Internally-cooled bipolar radiofrequency device